package com.borya.dao;

import java.util.List;

import com.borya.model.db.Merchant;
import com.borya.model.db.WhiteConfig;
import com.borya.model.entity.PageArgs;
import com.borya.model.entity.PageData;
import com.borya.model.entity.WhiteProd;

public interface WhiteListDAO {

	boolean addWhiteProd(WhiteProd whiteProd);

	List<WhiteProd> findWhiteProdList();

	boolean deleteWhiteProd(String prodId);

	boolean isUsedWhiteProdId(String prodId);

	PageData<Merchant> getMerchantConfigByPage(String dealerId,PageArgs pageArgs);

	List<WhiteConfig> StructureScopes(String dealerId);

	String checkWhiteIdsExist(String whiteIds);

	boolean updateScopeConfig(String configId, String isLocal, String whiteIds);

}
